home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’97
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Events
/
Tick.cp
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1997-06-28
|
255 b
|
18 lines
|
[
TEXT/CWIE
]
// Tick.cp
#ifndef Tick_h
#include "Tick.h"
#endif
#ifndef Assert_h
#include "Assert.h"
#endif
void Tick::WaitFor() const
{
// This is a pretty annoying way to wait for long periods
Assert( *this - Now() <= 300 );
while ( *this > Now() )
;
}